package observer.observer1;


import java.util.Observable;

public class GuPiao extends Observable {
    private double price;

    public void setPrice(double price) {
        this.price = price;
        setChanged();
        notifyObservers();
    }
    //    public void setPrice(double price){
//        this.price=price;
//
//    }

}
